﻿using Interface;

namespace Model
{
    public class FbmData : IFbmData  //Tien
    {
        #region Properties
        public int Id { get; set; }
        public IFbmReport FbmRId { get; set; }
        public IFbmFeature FbmFId { get; set; }
        public double Measured { get; set; }
        public double Deviation { get; set; }
        public bool Test { get; set; }
        public Operator Operator { get; set; }
        #endregion

        public FbmData(int id, IFbmReport fbmrid, IFbmFeature fbmfid, double measured, double deviation, bool test)
        {
            Id = id;
            FbmRId = fbmrid;
            FbmFId = fbmfid;
            Measured = measured;
            Deviation = deviation;
            Test = test;
            Operator = null; //der er ikke nogen operator til at starte med
        }
    }
}